package com.youdianda.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserInfoVO {


    @ApiModelProperty("编号")
    private String id;

    @ApiModelProperty("登录名")
    private String loginName;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("最后登陆IP")
    private String loginIp;

    @ApiModelProperty("最后登陆时间")
    private LocalDateTime loginDate;

    @ApiModelProperty("创建时间")
    private LocalDateTime createDate;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateDate;

    @ApiModelProperty("删除标记")
    private String delFlag;

    @ApiModelProperty("角色ID")
    private String roleId;

    @ApiModelProperty("状态 1 正常  0 冻结")
    private Integer status;
    //角色名
    private String rolename;
}
